package com.hiv.mapper.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import lombok.NoArgsConstructor;

/**
 * 患者对象 patient
 * 
 * @author zhanghong
 * @date 2022-09-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("患者")
public class Patient implements Serializable {
    private Long id;
    @ApiModelProperty("抗病毒编码")
    private String antiviralCode;
    @ApiModelProperty("类型 1病载含量检测 2耐药性检测")
    private Integer checkType;
    @ApiModelProperty("病载/耐药含量")
    private Double content;
    @ApiModelProperty("医院id")
    private Long hospitalId;
    @ApiModelProperty("采样记录id")
    private Long samplingId;
    @ApiModelProperty("删除状态 0未删除 1已删除")
    private Integer deleted;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("患者检测医院数量统计")
    private Integer inspectionHospitalCount;
    @ApiModelProperty("患者检测数量统计")
    private Integer inspectionCount;
}
